Skip to content

In .ini files, using the same key in multiple sections might be buggy #3577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eemeli opened this issue Feb 25, 2025 · 0 comments
Open

In .ini files, using the same key in multiple sections might be buggy #3577

eemeli opened this issue Feb 25, 2025 · 0 comments
Labels
P5 A valid bug, but we might never fix it, unless you provide a patch

Comments

@eemeli
Copy link
Member

eemeli commented Feb 25, 2025

While reviewing the current implementation, I came across a possible bug: If you have a .ini file like

[foo]
key = foo value
[bar]
key = bar value

then the two messages will probably get entangled in Pontoon. If the keys are different

[foo]
key-a = foo value
[bar]
key-b = bar value

then everything's fine.

I'm noting this here in case anyone's affected (Mozilla's own usage won't hit this bug), but this should get fixed as a part of #3538.

@github-project-automation github-project-automation bot moved this to 🆕 Needs triage in Pontoon Roadmap Feb 25, 2025
@mathjazz mathjazz moved this from 🆕 Needs triage to 🔖 Ready in Pontoon Roadmap Feb 25, 2025
@mathjazz mathjazz added P5 A valid bug, but we might never fix it, unless you provide a patch bug enhancement and removed bug enhancement labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P5 A valid bug, but we might never fix it, unless you provide a patch
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants